package com.ebpm.designer.menu
{
	import com.ebpm.designer.WF;
	import com.ebpm.designer.WorkPanel;
	import com.ebpm.designer.xml.FileParser;
	
	import flash.events.MouseEvent;
	
	public class OpenMenu extends MenuItem
	{
		public function OpenMenu(iconImage:Class, x:Number=0, y:Number=0)
		{
			super(iconImage, x, y);
		}
		
		override public function _click(event:MouseEvent):void
		{
			FileParser.loadDefineFile2WorkPanel();
		}
		
		override public function getIconImage() : Class {
			return WF.MenuOpen;
		}
		
		override public function getIconImageOver() :Class {
			return WF.MenuOpen1;
		}
		
		
		
		
		
		
		
		
		
		
		
		
	}
}